//-----------------------------------------------------------------------
// <copyright file="PresentBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace BirthdayReminder.Entities
{
	[Serializable]
	public class PresentBase
	{
		
		#region Variable Declarations
		private int				presentId = 0;
		private int				amount = 0;
		private int				type = 0;
		private string				message = string.Empty;
		private int				senderId = 0;
		private int				receiverId = 0;
		private DateTime				creationDate = new DateTime(1900,1,1,0,0,0,0);
		private int				giftId = 0;
		#endregion
		
		#region Constructors
		public PresentBase() {}
		
		public PresentBase (
			int presentId,
			int amount,
			int type,
			string message,
			int senderId,
			int receiverId,
			DateTime creationDate,
			int giftId)
		
		{
			this.presentId = presentId;
			this.amount = amount;
			this.type = type;
			this.message = message;
			this.senderId = senderId;
			this.receiverId = receiverId;
			this.creationDate = creationDate;
			this.giftId = giftId;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int PresentId
		{
			get { return presentId; }
			set { presentId = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Amount
		{
			get { return amount; }
			set { amount = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Type
		{
			get { return type; }
			set { type = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Message
		{
			get { return message; }
			set { message = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int SenderId
		{
			get { return senderId; }
			set { senderId = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ReceiverId
		{
			get { return receiverId; }
			set { receiverId = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime CreationDate
		{
			get { return creationDate; }
			set { creationDate = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int GiftId
		{
			get { return giftId; }
			set { giftId = value; }
		}
			
		
		#endregion
	}//End Class
	
	public enum PresentColumns
	{
		PresentId,
		Amount,
		Type,
		Message,
		SenderId,
		ReceiverId,
		CreationDate,
		GiftId
	}//End enum
}